package cn.com.basespringboot.service;

import cn.com.basespringboot.bean.User;
import cn.com.basespringboot.vo.UserVo;

public interface UserService {
    /**
     * 添加用户
     * @param user
     * @return
     */
    UserVo addUser(User user);

    /**
     * 获取用户
     * @param name
     * @return
     */
    UserVo getUserByName(String name);
}
